

package com.sample.lambda;

import java.util.function.Function;

public class Worker {
    public Worker() {
    }

    public static class InnerWorker {
        public InnerWorker() {
        }

        public static String map(String s) {
            Function<String, Function<String, String>> f = (t) -> {
                return (u) -> {
                    return u;
                };
            };
            return (String) ((Function) f.apply(s)).apply(s);
        }
    }
}
